<?php

namespace app\admin\controller\kefu;

use app\common\controller\Backend;

/**
 * 分组管理
 */
class Group extends Backend
{
    /**
     * Group模型对象
     * @var object
     * @phpstan-var \app\admin\model\kefu\Group
     */
    protected object $model;

    protected string|array $defaultSortField = 'weigh,desc';

    protected array|string $preExcludeFields = ['id', 'create_time'];

    protected string|array $quickSearchField = ['name'];

    public function initialize(): void
    {
        parent::initialize();
        $this->model = new \app\admin\model\kefu\Group;
    }
}